<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>高校人事管理系统</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/lib/bootstrap/css/bootstrap.css">
    
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/stylesheets/theme.css">
    <link rel="stylesheet" href="__PUBLIC__/admin/lib/font-awesome/css/font-awesome.css">

    <script src="__PUBLIC__/admin/lib/jquery-1.7.2.min.js" type="text/javascript"></script>

    <!-- Demo page code -->

    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .brand { font-family: georgia, serif; }
        .brand .first {
            color: #ccc;
            font-style: italic;
        }
        .brand .second {
            color: #fff;
            font-weight: bold;
        }
    </style>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    
  </head>

  <!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
  <!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
  <!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
  <!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
  <!--[if (gt IE 9)|!(IE)]><!--> 
  <body class=""> 
  <!--<![endif]-->

    <include file="./Application/Admin/View/index/header.html" />
    <include file="./Application/Admin/View/index/nav.html" />
    
    <div class="content">
        
        <div class="header">
            
            <h1 class="page-title">编辑人员信息</h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="{:U('admin/index/index')}">主页</a> <span class="divider">/</span></li>
            <li class="active">编辑人员信息</li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                    
<div class="btn-toolbar">
    <a href="{:U('admin/personnel/ryList')}" class="btn btn-primary">人员信息列表</a>
  <div class="btn-group">
  </div>
</div>
<div class="well">
    <div id="myTabContent" class="tab-content">
      <div class="tab-pane active in" id="home">
    <form id="tab" action="{:U('admin/personnel/ryedit')}" enctype="multipart/form-data" method="post">
        <input type="hidden" name="id" value="{$ryinfo[id]}">
        <label>姓名</label>
        <input type="text" name="ry_name" value="{$ryinfo[ry_name]}" class="input-xlarge">
        <label>性别</label>
        <select name="ry_sex" id="ry_sex" class="input-xlarge">
            <option value="">请选择</option>
            <option value="男" <if condition="$ryinfo[ry_sex] eq '男'" >selected</if> >男</option>
            <option value="女" <if condition="$ryinfo[ry_sex] eq '女'" >selected</if> >女</option>
        </select>
        <label>民族</label>
        <input type="text" name="ry_minzu" value="{$ryinfo[ry_minzu]}" class="input-xlarge">
        <label>政治面貌</label>
        <input type="text" name="ry_zhengzhi" value="{$ryinfo[ry_zhengzhi]}" class="input-xlarge">
        <label>籍贯</label>
        <input type="text" name="ry_join" value="{$ryinfo[ry_join]}" class="input-xlarge">
        <label>毕业院校</label>
        <input type="text" name="ry_biye" value="{$ryinfo[ry_biye]}" class="input-xlarge">
        <label>学历</label>
        <select name="ry_xueli" id="ry_xueli" class="input-xlarge">
          <option value="">请选择</option>
          <option value="本科" <if condition="$ryinfo[ry_xueli] eq '本科'" >selected</if> >本科</option>
          <option value="硕士" <if condition="$ryinfo[ry_xueli] eq '硕士'" >selected</if> >硕士</option>
          <option value="博士" <if condition="$ryinfo[ry_xueli] eq '博士'" >selected</if> >博士</option>
        </select>
        <label>职称</label>
        <select name="ry_zhicheng" id="ry_zhicheng" class="input-xlarge">
          <option value="">请选择</option>
          <foreach name="zcinfo" item="zc">
          <option value="{$zc.zc_name}" <if condition="$ryinfo[ry_zhicheng] eq $zc[zc_name]" >selected</if> >{$zc.zc_name}</option>
          </foreach>
        </select>
        <label>职务</label>
        <select name="ry_zhiwu" id="ry_zhiwu" class="input-xlarge">
          <option value="">请选择</option>
          <foreach name="zwinfo" item="zw">
          <option value="{$zw.zw_name}" <if condition="$ryinfo[ry_zhiwu] eq $zw[zw_name]" >selected</if> >{$zw.zw_name}</option>
          </foreach>
        </select>
        <label>是否在职</label>
        <select name="ry_zaizhi" id="ry_zaizhi" class="input-xlarge">
          <option value="">请选择</option>
          <option value="在职" <if condition="$ryinfo[ry_zaizhi] eq '在职'" >selected</if> >在职</option>
          <option value="退休" <if condition="$ryinfo[ry_zaizhi] eq '退休'" >selected</if> >退休</option>
        </select>
        <label  for="exampleInputFile">照片</label>
        <if condition="$ryinfo[picture]" >
          <img src="{$ryinfo[picture]}" width="240"><br>
        </if>
        <input type="file" name="picture" id="exampleInputFile">
        <p class="help-block">支持照片格式 jpg, gif, png, jpeg</p>
        <label>简介 / 所获荣誉</label>
        <textarea rows="5" style="width: 500px;" name="ry_jianjie" class="input-xlarge">{$ryinfo['ry_jianjie']}</textarea>
        <br>
        <input type="submit" class="btn btn-primary" value="更新">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" class="btn" value="重置">
    </form>
      </div>
  </div>

</div>


                    <footer>
                        <hr>

                        <p>&copy; 2017 高校人事管理系统</p>
                    </footer>
                    
            </div>
        </div>
    </div>
    


    <script src="__PUBLIC__/admin/lib/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
    </script>
    
  </body>
</html>